:root {
    --theme-color: #e25a1b;
    --theme-color-dark: #e25a1b;
    --text-color-base: #2e2e46;
    --text-color-tertiary: #81818e;
}

body {
    font-size: 100% !important;
    line-height: 1.5 !important;
    color: var(--text-color-base);
}

* {
    text-decoration: none !important;
}

a {
    transition: all 0.3s linear;
}

/****** scrollbar  ******/
html::-webkit-scrollbar {
    width: 0;
}

/****** edit on github ******/
.markdown-section div p {
    float: left !important;
}

/****** sidebar  ******/
.sidebar li {
    margin: 5px 0 5px 0 !important;
}

.sidebar ul {
    margin: 0 0 0 20px !important;
}

.sidebar ul li a {
    font-size: 15px !important;
}

.sidebar li>p {
    font-weight: 700 !important;
    margin: 0 !important;
    font-size: 25px !important;
}

.sidebar .app-name-link img {
    height: 150px;
}

.sidebar ul li a:hover {
    color: var(--theme-color);
}

.app-sub-sidebar li:before {
    display: none;
}

.sidebar .search .clear-button {
    cursor: pointer;
}

/****** sidebar toggle ******/
.sidebar-toggle {
    cursor: pointer;
}

body .sidebar-toggle {
    background: none;
    top: 1.5rem;
    left: calc(300px + 1.5rem);
    cursor: pointer;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    transition: left 0.25s ease-out;
}

body .sidebar-toggle span {
    background-color: var(--theme-color);
    height: 0.2rem;
    width: 1.5rem;
    position: absolute;
    left: 0;
    margin: 0;
    transform-origin: 0;
    border-radius: 1px;
}

body.close .sidebar-toggle {
    transition: left 0.25s ease-out;
    width: 1.5rem;
    height: 1.5rem;
    left: 1.5rem;
}

body.close .sidebar-toggle span {
    transform-origin: center;
}

body .sidebar-toggle span:nth-child(1) {
    top: 0;
}
body .sidebar-toggle span:nth-child(2) {
    top: 0.5rem;
}
body .sidebar-toggle span:nth-child(3) {
    top: 1rem;
}

.sidebar-toggle:hover {
    opacity: 0.8;
}
.sidebar-toggle .sidebar-toggle-button:hover {
    opacity: 1;
}

@media screen and (max-width: 768px) {
  body .sidebar-toggle {
      display: none;
  }

  body.close .sidebar-toggle {
      left: calc(300px + 1.5rem);
  }
}

/****** Markdown General ******/
.markdown-section {
    padding: 30px 30px 40px;
}

.markdown-section a {
    text-decoration: none;
    border-bottom: 0.1rem solid var(--theme-color);
    transition: all 0.3s ease;
}

.markdown-section a:hover {
    border-color: var(--theme-color-dark);
    color: var(--theme-color-dark);
}

.markdown-section a.anchor {
    border: none;
}

/****** Markdown Table ******/
.markdown-section table {
    display: table;
}

.markdown-section table tr {
    border-width: 0.15rem 0;
    border-style: solid;
    border-color: #f1f1f2;
}

.markdown-section table thead tr {
    text-transform: uppercase;
    font-size: 90%;
    border-top: none;
}

.markdown-section table tbody tr:last-of-type {
    border-bottom: none;
}

.markdown-section table tr:nth-child(2n) {
    background-color: transparent;
}

.markdown-section table td,
.markdown-section table th {
    border: none;
    padding: 1.1rem 0.5rem;
    text-align: left;
}

.markdown-section table td p {
    margin: 0;
}

.markdown-section blockquote {
    margin: 1em 0;
}

.markdown-section blockquote > p {
    font-weight: 500;
}

.markdown-section em,
.markdown-section blockquote {
    color: var(--text-color-tertiary);
}

/****** CODE HIGHLIGHTING ******/
.token.string {
    color: #42b983;
}

.token.boolean,
.token.number {
    color: var(--theme-color);
}

.lang-bash .token.function,
.lang-json .token.property {
    color: var(--theme-color);
}

/****** COPY TO CLIPBOARD ******/
.docsify-copy-code-button {
    font-size: 0.7em !important;
}

/****** custom readme badge ******/
.badge {
    display: table !important;
    margin: auto;
    border-spacing: 4px !important;
}

.badge p {
    margin: 0.2rem !important;
}

.badge p a {
    border-bottom: none !important;
}

.notFound {
    line-height: 150px;
}
